package com.ax.business.hemp.service.impl;

import com.ax.business.hemp.dao.BaseDrugDtoMapper;
import com.ax.business.hemp.domain.BaseDrugDto;
import com.ax.business.hemp.service.BaseDrugDtoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @Author Lg
 * @Date 2018/9/6 11:37
 * @Content
 */
@Service("BaseDrugDtoService")
public class BaseDrugDtoServiceImpl implements BaseDrugDtoService{

    @Autowired
    BaseDrugDtoMapper baseDrugDtoMapper;

    @Override
    public List<BaseDrugDto> queryBaseDrugDto(Map<String, Object> map) {
        //todo session取药店id
        map.put("Drugstore_ID",1);
        return baseDrugDtoMapper.queryBaseDrugDto(map);
    }
}
